package com.liang.Event.Events;

import com.liang.pojo.userandnotice;
import org.springframework.context.ApplicationEvent;

public class receiveNoticeEvent extends ApplicationEvent {

    private userandnotice userandnotice;

    public receiveNoticeEvent(userandnotice userandnotice) {
        super(userandnotice);
        this.userandnotice = userandnotice;
    }

    public com.liang.pojo.userandnotice getUserandnotice() {
        return userandnotice;
    }
}
